package cn.edu.scnu.match.mapper;

import cn.edu.scnu.pojo.MatchActivity;

import java.util.List;

public interface MatchMapper {
    List<MatchActivity> getAllMatchs();

    MatchActivity getMatchById(String matchId);

    void createMatch(MatchActivity matchActivity);

    void saveMatch(MatchActivity matchActivity);

    void deleteMatch(String matchId);

    void addNumber(String id);

    int getMatchByName(String name);

    void addViews(String matchId);

    List<MatchActivity> getMatchsByOrgId(String orgId);
}
